﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="KetQuaTimKiem.aspx.cs" Inherits="WebApplication1.KetQuaTimKiem" %>
<%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="Collectionpager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="width:580px">
<div class="ct_top">
<div class="ct_left"></div>
<div class="ct_right"></div>
<div class="ct_center"><h1>Kết quả tìm kiếm</h1></div>
</div> 
 <div class="ct_middle">
<div style="padding-top: 20px">
    <asp:Label ID="lbthongbao" ForeColor="Red" runat="server" Text=""></asp:Label>
    </div>
    <asp:DataList ID="DataListsanpham" RepeatColumns="3" runat="server">
    <ItemTemplate>
    <table class="tb_sanpham">
    <tr>
    <td>
       <a href="../ChiTietSanPham.aspx?Id=<%#Eval("Idsp") %>"><asp:Image   ID="Image2" runat="server" ImageUrl=<%# Eval("Hinh") %> Width="160px" Height="171" > </asp:Image></a>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label2" runat="server" Text='<%# Eval("Tensp") %>'></asp:Label>
    </td>
    </tr>
        <tr>
     <td style="color:Silver; font-size:12px">
        <asp:Label ID="Label3" runat="server" Text='<%# Eval("Idsp") %>'></asp:Label>
        </td>
        <tr>
       <td style="color:Red; font-size:14px; font-weight:bold" >
         <asp:Label ID="Label4" runat="server" Text='<%# Eval("Dongia") %>'></asp:Label>
    </td>
    </tr>
    </tr>
   </table>
  </ItemTemplate>
  </asp:DataList>


<div style="text-align:right; margin-top:0px; padding-top:20px; background-color:Transparent">
 
    <cc1:CollectionPager ID="CollectionPager1" runat="server"
    FirstText="<<" 
    BackText="< &amp;nbsp;" 
    LabelText="" 
    LastText=">>" 
    NextText="&amp;nbsp; >" 
    ShowFirstLast="True" 
    SliderSize="5" PagingMode="PostBack"
    BackNextLinkSeparator="" BackNextLocation="Split" 
    PageNumbersDisplay="Numbers" ResultsLocation="None" 
    BackNextDisplay="Buttons">
    </cc1:CollectionPager>
</div>
    
 </div>
<div class="ct_bottom">
<div class="ct_left"></div>
<div class="ct_right"></div>
<div class="ct_center"></div>
</div>
 </div>
</asp:Content>
